<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page contentType="text/html; charset=UTF-8" language="java"
	import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
  <head>
    <title>视频页面</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">	
			<style type="text/css">
body{padding:0;margin:0;background-color:#f0f0f0;font-family: "Microsoft YaHei" }
.clear{clear:both;}
#img_show{margin:0 auto;padding:5px 10px 0;}
#title_name{margin:0 auto;padding:0px 10px 0;font-size:3.5em; line-height:2 em;color:#333333;font-weight:bold}
#product_info{margin:0 auto;padding:0px 10px 10px;background:url(images/line_solid.jpg) bottom repeat-x;color:#666666;font-size:2.3em; line-height:1.8em;}
#product_info ul,#product_info ul li{margin:0 0 10px;padding:0;list-style:none;}
#product_info ul li span{color:#333333;}
.text01{text-align:left;color:#aaaaaa;}
#intro_words{margin:0 auto;padding:0px 10px 10px;color:#666666;font-size:2.3em; line-height:2 em;}
#intro_pic{margin:0 auto;padding:0px 10px 10px;background:url(images/line_solid.jpg) bottom repeat-x;}
#comment{margin:0 auto;margin:0;padding:15px 10px;}
p.title{margin:5px 0px;color:#000;}
.comment_list{padding:15px 0;background:url(images/line_dot.jpg) bottom repeat-x;}
.comment_list_info{margin:0;padding:0;color:#333;font-size:2em; line-height:2em;}
.comment_time{float:right;color:#aaaaaa;font-size:2em; line-height:2em;}
.comment_username{float:left;color:#aaaaaa;font-size:2em; line-height:2em;}
</style>
<style type="text/css">
.suofang {MARGIN: auto;WIDTH: 930px;}
.suofang img{MAX-WIDTH: 100%!important;HEIGHT: auto!important;width:expression(this.width > 930 ? "930px" : this.width)!important;}
</style>
  </head>  
	<body>
		<script>
			function playMedia(url){
			    window.universal.playMedia(url);
			}
		</script>
		<s:if test="clientRequestType==0">
			<s:iterator value="imgList">
		     	<s:if test="intType==3">
		     		<p class="comment_list_info">
		     			<s:property value="varImgName.substring(0,varImgName.lastIndexOf('.'))"/>
		     		</p>
					<hr width="100%" style="margin:20px auto;"></hr>
		     		<img src="<%=basePath %>manage/images/video.jpg" onclick="playMedia('<s:property value='varImgUrl'/>');" width="98%" style="margin-left:10px;"/>
					<p class="comment_list_info">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<s:property value="varImgDescrip" escape="false"/></p>
					<br/>
		     	</s:if>
			</s:iterator>
		</s:if>
		<s:else>
			<s:iterator value="imgList">
		     	<s:if test="intType==3">
		     		<p class="comment_list_info">
		     			<s:property value="varImgName.substring(0,varImgName.lastIndexOf('.'))"/>
		     		</p>
	     			<hr width="100%" style="margin:20px auto;"></hr>
		     		<s:if test="clientRequestType==1">
			     		<video src="<s:property value="varImgUrl"/>" controls="controls" width="98%" height="600px" style="margin-left:10px;">
							您的浏览器不支持 video 标签。
						</video>
		     		</s:if>
		     		<s:else>
			     		<video src="<s:property value="varImgUrl"/>" controls="controls">
							您的浏览器不支持 video 标签。
						</video>
		     		</s:else>
					<p class="comment_list_info">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<s:property value="varImgDescrip" escape="false"/></p>
					<br/>
		     	</s:if>
			</s:iterator>	
		</s:else>
  </body>
</html>
